package com.music.service;

import com.github.pagehelper.PageInfo;
import com.music.pojo.SingleSong;

import java.util.List;
import java.util.Map;

public interface UserBasedCollaborativeFiltering {
    PageInfo<SingleSong> recommendMusicForUser(Map<Integer, Map<Integer, Integer>> userListeningHistory,
                                               Integer targetUserId,
                                               int numRecommendations,Integer pageNum);
}
